package com.tarena.lbs.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(name = "用户优惠券实体类")
public class UserCoupons {
    @Schema(description = "主键 ID")
    private Integer id;
    @Schema(description = "用户 ID")
    private Integer userId;
    @Schema(description = "优惠券 ID")
    private Integer couponId;
    @Schema(description = "领取渠道")
    private Integer receiveChannel;
    @Schema(description = "状态（未使用、已使用、已过期）")
    private Integer status;
    @Schema(description = "创建时间")
    private Date createAt;
    @Schema(description = "更新时间")
    private Date updateAt;
    @Schema(description = "活动 ID")
    private Integer activityId;
    @Schema(description = "优惠券码")
    private String couponCode;
    @Schema(description = "订单编号")
    private String orderNo;
    @Schema(description = "使用时间")
    private Date usedTime;
    @Schema(description = "优惠券类型")
    private Integer couponType;
    @Schema(description = "优惠券面额")
    private BigDecimal couponValue;
    @Schema(description = "店铺 ID")
    private Integer shopId;
}